/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Factory.Tables;

import java.sql.Date;
import java.sql.Time;
import java.util.ArrayList;

/**
 *
 * @author Patrick
 */
public class Transaction {
    private int transactionID;
    private int userID;
    private float totalPrice;
    private ArrayList<Cart> cart;
    private Date transactionDate;
    private Time transactionTime;
    private int transactionDefID;

    /**
     * @return the transactionID
     */
    public int getTransactionID() {
        return transactionID;
    }

    /**
     * @param transactionID the transactionID to set
     */
    public void setTransactionID(int transactionID) {
        this.transactionID = transactionID;
    }

    /**
     * @return the userID
     */
    public int getUserID() {
        return userID;
    }

    /**
     * @param userID the userID to set
     */
    public void setUserID(int userID) {
        this.userID = userID;
    }

    /**
     * @return the totalAmount
     */
    public float getTotalPrice() {
        return totalPrice;
    }

    /**
     * @param totalAmount the totalAmount to set
     */
    public void setTotalPrice(float totalPrice) {
        this.totalPrice = totalPrice;
    }

    /**
     * @return the transactionDate
     */
    public Date getTransactionDate() {
        return transactionDate;
    }

    /**
     * @param transactionDate the transactionDate to set
     */
    public void setTransactionDate(Date transactionDate) {
        this.transactionDate = transactionDate;
    }

    /**
     * @return the transactionTime
     */
    public Time getTransactionTime() {
        return transactionTime;
    }

    /**
     * @param transactionTime the transactionTime to set
     */
    public void setTransactionTime(Time transactionTime) {
        this.transactionTime = transactionTime;
    }

    /**
     * @return the transactionDefID
     */
    public int getTransactionDefID() {
        return transactionDefID;
    }

    /**
     * @param transactionDefID the transactionDefID to set
     */
    public void setTransactionDefID(int transactionDefID) {
        this.transactionDefID = transactionDefID;
    }

    /**
     * @return the cart
     */
    public ArrayList<Cart> getCart() {
        return cart;
    }

    /**
     * @param cart the cart to set
     */
    public void setCart(ArrayList<Cart> cart) {
        this.cart = cart;
    }
    
}
